Repository navigation
Gather powers of multiples of powers of one linear into one power - #1901
Merged
Rafael-SOWNet merged 3 commits intoOct 16, 2026
Merged
Conversation
…ar into one power B^p for B = lambda L^k is (B^p/L^(k p)) L^(k p), and the quotient is constant wherever it is continuous, so it stays in front as written. Rubi's 1.1.1.2 1/(sqrt(-2 - b x) sqrt(2 + b x)), 1.1.1.3 (a + b x)^n/(x (-a - b x)^n) and 1.3.1 (a^3 + 3 a^2 b x + 3 a b^2 x^2 + b^3 x^3)^p were declined. Dispatched late, so the rules before it keep the shapes they answer. Part of #718 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…r-are-gathered-into-one-power # Conflicts: # Sources/AngouriMath/Functions/Continuous/Integration/IndefiniteIntegralSolver.cs
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #718.
A power
B^pthat is not whole, of a polynomialBthat is a constant timesL^kfor one linearL, is(B^p/L^(k p)) L^(k p). The quotient's logarithmic derivative isp B'/B - k p L'/L = 0, so it is constant wherever it is continuous and stays in front as written.SolvePowersOfOneLinearAsOnePowergathers such powers by the root ofL, integrates the one power that results, and checks it by differentiating back.It is dispatched last of the rewrites, just before
SolveByScalingTheVariable. Asked first, it lengthened answers the rules before it already give:((a + b x)^3)^(1/3)came out in 111 characters where they write 25. A test pins that both stay with the earlier rules.Checks
npast the wrap at 2.3: 360/360.PowersOfOneLinearAsOnePowerIntegralTest: 6 cases.Corpus, measured against master 55a8044 (this branch then merged ded0d68):
Two family-3 rows timed out on the branch in the chain, 3.2.1:292 and 3.2.3:49. Re-run alone, both arms agree on both (one solved, one unsolved). The chain was sharing the machine. Gate passed; suite 15,419 passed, 0 failed.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura